<template>
  <el-form-item :label="i18nt('designer.setting.isDeleted')">
    <el-switch v-model="optionModel.isDeleted"></el-switch>
  </el-form-item>
  <el-form-item :label="i18nt('designer.setting.isUpload')">
    <el-switch v-model="optionModel.isUpload"></el-switch>
  </el-form-item>
  <el-form-item :label="i18nt('designer.setting.isDownload')">
    <el-switch v-model="optionModel.isDownload"></el-switch>
  </el-form-item>
  <el-form-item :label="i18nt('designer.setting.showFormType')">
    <el-select v-model="optionModel.showFormType"  filterable allow-create default-first-option>
      <el-option  label="图形展示" value="form"></el-option>
      <el-option  label="排列展示" value="formRow"></el-option>
      <el-option  label="表格展示" value="table"></el-option>
    </el-select>
  </el-form-item>
</template>

<script>
import i18n from "@/utils/i18n"

export default {
  name: "file-list-editor",
  mixins: [i18n],
  props: {
    designer: Object,
    selectedWidget: Object,
    optionModel: Object,
  },
}
</script>

<style scoped></style>